-
Home
-
Contextual Related Posts
-
4.1.0 (latest)
-
Code
-
Classes
- REST_API
| Total Complexity |
28 |
| Dependencies |
4 |
| Dependents |
1 |
| Total lines |
250 |
| Lines of code |
130 |
| Logical lines of code |
48 |
| Comment lines |
89 |
| Methods |
8 |
| Properties |
1 |
Methods 8
| Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
| check_read_permission() |
A |
53 |
10 |
23 |
| get_items() |
A |
49 |
9 |
29 |
| check_is_post_type_allowed() |
S |
65 |
4 |
9 |
| get_item_params() |
S |
49 |
1 |
35 |
| register_routes() |
S |
56 |
1 |
22 |
| __construct() |
S |
77 |
1 |
4 |
| permissions_check() |
S |
79 |
1 |
3 |
| prepare_item() |
S |
72 |
1 |
5 |